set :application, "Old Parachute"
set :repository,  "https://old-parachute.googlecode.com/svn/trunk/"

set :scm, :subversion

set :deploy_to, "/home/jmarcell/old-parachute"
set :group_writable, false
set :user, "jmarcell"
set :scm_username, "jasonmarcell@gmail.com"
set :use_sudo, false
set :current, "#{deploy_to}/current"

default_run_options[:pty] = true 

role :web, "neptune.webhostserver.biz"
role :app, "old-parachute.hosted.jmarcell.com"
role :db,  "old-parachute.hosted.jmarcell.com", :primary => true

after "deploy:update_code", :roles => [:web, :db, :app] do
  run "cd #{release_path} && /usr/local/bin/rake db:migrate RAILS_ENV=production" 
end